projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21f69e7
)
(x_get_focus_frame): New function.
author
Karl Heuer
<kwzh@gnu.org>
Wed, 23 Mar 1994 20:09:12 +0000
(20:09 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Wed, 23 Mar 1994 20:09:12 +0000
(20:09 +0000)
src/xfns.c
patch
|
blob
|
history
diff --git
a/src/xfns.c
b/src/xfns.c
index dea6db53db201e51a3e42772a87d754df46deae1..fb788dd7f58f614e436420dd6dcd1fbb54ab69e1 100644
(file)
--- a/
src/xfns.c
+++ b/
src/xfns.c
@@
-2399,6
+2399,17
@@
be shared by the new frame.")
#endif /* X10 */
}
+Lisp_Object
+x_get_focus_frame ()
+{
+ Lisp_Object xfocus;
+ if (! x_focus_frame)
+ return Qnil;
+
+ XSET (xfocus, Lisp_Frame, x_focus_frame);
+ return xfocus;
+}
+
DEFUN ("focus-frame", Ffocus_frame, Sfocus_frame, 1, 1, 0,
"Set the focus on FRAME.")
(frame)